package com.k.kpp.config.datasource;

/**
 * @author k
 */
public class GlobalDataSourceHolder {
    /**
     * 新增全局默认数据源 ， 不改变原有固定切换数据源逻辑
     *
     * var lookupKey = "newLookUpKey"
     * var ds = new DataSource();
     * 1.DynamicDataSource.addDataSource(lookupKey,ds);
     * 2.GlobalDataSourceHolder.lookupKey = lookupKey
     */
    public static String lookupKey = "master";
}
